package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.MemberSummaryResponse;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by ASUS on 2017/8/12.
 */

public interface MemberSummaryRequest {
    @POST("member_summary")
    @FormUrlEncoded
    Observable<BaseModel<MemberSummaryResponse>> getResult(@Query("token") String token,
                                                           @Field("day") String day,
                                                           @Field("start_time") String start_time,
                                                           @Field("end_time") String end_time,
                                                           @Field("is_all") String is_all);
}
